package book.dao;

import java.util.List;

import book.dto.book;
import book.util.Page;

public interface bookDAO {
	
	public List<book> query(Page page);
	
	public void update(book book);
	
	public void add(book book);
	
	public void delete(Integer bid);
	
	public Integer count();
	
	public Integer count(String key);
	
	public List<book> query(Page page,String key);
	
}
